//
//  TSImageController.m
//  chart
//
//  Created by 曾斌 on 16/4/30.
//  Copyright (c) 2016年 xu. All rights reserved.
//

#import "TSImageController.h"
#import "TSHomeTabBarController.h"
@implementation TSImageController
{
}
- (void)viewDidLoad {
    
    UIImageView  *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0.0,0,currentDeviceWidth,currentDeviceHeight)];
    imageView.image = [UIImage imageNamed:@"task_bg.png"];//加载入图片
    
    imageView.userInteractionEnabled = YES;
    UITapGestureRecognizer *singleTap1 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(imageClick:)];
    [imageView addGestureRecognizer:singleTap1];
    [self.view addSubview:imageView];
}

/* login click */
- (void)imageClick:(UIButton*)sender{
    TSHomeTabBarController * home = [[TSHomeTabBarController alloc] init];
    [self presentViewController:home animated:YES completion:nil];
    
}
@end
